<?php

namespace App\Admin\Tools\Customer;

use App\Models\CustomerModel;
use Encore\Admin\Grid\Tools\AbstractTool;

class CustomerScoreTool extends AbstractTool
{
    private int $id;

    public function __construct(int $id)
    {
        $this->id = $id;
    }

    /**
     * @inheritDoc
     */
    public function render()
    {
        return view('customer.score', [
            'id' => $this->id
        ]);
    }
}
